export const OODE_GET_TABLE_DATA = 'OODE_GET_TABLE_DATA';
export const OODE_SET_TABLE_DATA = 'OODE_SET_TABLE_DATA';
export const OODE_CHANGE_TABLE_LOADING = 'OODE_CHANGE_TABLE_LOADING';
export const OODE_CHANGE_MODAL_VISIBLE = 'OODE_CHANGE_MODAL_VISIBLE';
export const OODE_GET_PERSON_DATA = 'OODE_GET_PERSON_DATA';
export const OODE_SET_PERSON_DATA = 'OODE_SET_PERSON_DATA';
export const OODE_DISTRIBUTE_ORDER = 'ODD_DISTRIBUTE_ORDER';
export const OODE_CHANGE_SELECT_KEY = 'OODE_CHANGE_SELECT_KEY';
export const OODE_CHANGE_PERSON_TYPE = 'OODE_CHANGE_PERSON_TYPE';


export const oodeGetTableData = (params) => ({ type: OODE_GET_TABLE_DATA, params });
export const oodeSetTableData = (data) => ({ type: OODE_SET_TABLE_DATA, data });
export const oodeChangeTableLoading = (option) => ({ type: OODE_CHANGE_TABLE_LOADING, option });
export const oodeChangeModalVisible = (option) => ({ type: OODE_CHANGE_MODAL_VISIBLE, option });
export const oodeGetPersonData = (params) => ({ type: OODE_GET_PERSON_DATA, params });
export const oodeSetPersonData = (data) => ({ type: OODE_SET_PERSON_DATA, data });
export const oodeDistributeOrder = (params, callBack) => ({ type: OODE_DISTRIBUTE_ORDER, params, callBack });
export const oodeChangeSelectKey = (data) => ({ type: OODE_CHANGE_SELECT_KEY, data });
export const oodeChangePersonType = (option) => ({ type: OODE_CHANGE_PERSON_TYPE, option });